package ar.com.photo_admin.domain

class PaperBorder {
	
	transient i18nService

	Integer border
	
	String i18nDescription
	String description
			
    static constraints = {
		border(min:0, max:5);
		i18nDescription(blank:false)
		description(nullable:true)
    }
	
	String toString() {
		return description
	}
	
	def afterLoad() {
		description = i18nService.message(i18nDescription)
	}
}